home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / prog / tpwprog1.arj / README < prev    next >
Encoding:
Text File  |  1993-10-24  |  6.3 KB  |  176 lines

  1.  
  2. README
  3. Turbo Pascal for Windows 3.0 Programming
  4. (c) 1991,1992 by Tom Swan. All rights reserved.
  5.  
  6.  
  7. These instructions explain how to install the compressed archive
  8. files on this diskette. The archive files end with .LZH--the file 
  9. PART2.LZH, for example, contains the listings for Part 2. The disk
  10. includes every listing from the book, and also includes several bonus
  11. programs, described at the end of this README file.
  12.  
  13. To get in touch, send Compuserve mail to Tom Swan 73627,3241. You can
  14. also send MCI mail, or contact me on Internet via your Compuserve
  15. gateway. Send mail to Swan Software; P.O. Box 206; Lititz PA 17543.
  16. Phone:717/627-1911. Fax:717/627-4715. Enjoy!
  17.  
  18.  
  19.                               ----------
  20.   (NOTE: The files on disk are compressed. Before you can use these
  21.   files you MUST decompress them using the supplied software. Follow
  22.   these instructions to install the files onto your hard drive.)
  23.                               ----------
  24.  
  25.  
  26. INSTALLING THE DISK
  27.  
  28. 1. Create a directory on your hard drive to hold the files from the
  29.    disk. I suggest naming the directory TPW3P (for Turbo Pascal for
  30.    Windows 3.0 Programming). You can use a different name if you want.
  31.    Copy all files from the disk to the directory. For example, if the
  32.    disk is in A: and your hard drive is C:, at a DOS prompt enter the
  33.    commands:
  34.  
  35.    c:
  36.    cd \
  37.    md tpw3p
  38.    copy a:*.* c:\tpw3p
  39.  
  40. 2. Change to your TPW3P directory. With the supplied LHARC.EXE program
  41.    in the current directory, run the UNPACK.BAT batch file to dearchive
  42.    all files. You need about 1.5 megabytes of available disk space.
  43.    For example, enter the commands:
  44.  
  45.    c:
  46.    cd \tpw3p
  47.    unpack
  48.  
  49. 3. The UNPACK.BAT file creates various subdirectories, and then it
  50.    extracts files from the .LZH archives into these directories. If the
  51.    current directory is C:\TPW3P, for example, Part 2's files are stored
  52.    in C:\TPW3P\PART2. 
  53.  
  54. 4. After dearchiving, you may delete all .LZH files from the hard
  55.    drive directory. You may also delete UNPACK.BAT. For example,
  56.    enter the commands:
  57.  
  58.    del *.lzh
  59.    del unpack.bat
  60.  
  61. 5. Installation is complete. Remove the disk from A:. Read the
  62.    following notes for further instructions.
  63.  
  64.  
  65. GENERAL NOTES
  66.  
  67. Most programs work equally well under Windows 3.0 and Windows 3.1.
  68. You can use Turbo Pascal for Windows 1.0 or 1.5. Some programs,
  69. however, require TPW 1.5 and Windows 3.1.
  70.  
  71. All resource (.RES) files have been updated with Borland's Resource
  72. Workshop, supplied with TPW 1.5.
  73.  
  74. I fixed some minor bugs here and there. Many thanks to all readers
  75. who have phoned, written, and sent Compuserve mail. I GREATLY
  76. appreciate all of your comments and bug reports!
  77.  
  78.  
  79. BONUS PROGRAMS AND FILES
  80.  
  81. In your C:\TPW3P directory are several subdirectories. The
  82. directories PART2, PART3, and PART4 contain all of the book's
  83. listings, plus binary resource files. Load these .PAS programs into
  84. Turbo Pascal for Windows and press Ctrl+F9 to compile and run.
  85. Consult the book for instructions about specific programs.
  86.  
  87. If you are using Windows 3.0, you might have to edit the SLIDES.PAS
  88. program in PART3. Change the file and path names to the names of the
  89. .BMP slide files you want to view, and also set constant numSlides
  90. to the number of slides. 
  91.  
  92. Bonus files are also included on this disk. The following notes
  93. explain how to use these extra goodies. Each is stored in its own
  94. directory. The files for the COMMON demonstration, for example, are
  95. stored in C:\TPW3P\COMMON.
  96.  
  97.  
  98. COMMON
  99.  
  100. Requires Windows 3.1 and Turbo Pascal for Windows 1.5. Demonstrates
  101. how to use common dialog boxes to select colors, fonts, and so on.
  102.  
  103.  
  104. INDEX
  105.  
  106. This directory contains a single file, INDEX.TXT, a copy of the
  107. subject index in the back of the book. Load this file into your
  108. editor and use the text as an online reference.
  109.  
  110.  
  111. LHARC.EXE
  112. LHARC.MAN
  113.  
  114. The LHARC.MAN file contains the complete user manual for the public
  115. domain LHARC.EXE compression utility. LHARC isn't as fast as the
  116. popular shareware program PKZIP and other ARC utilities, but in most
  117. cases, LZH files are smaller than the equivalent ARC and ZIP files.
  118.  
  119. If you want to know how to use this impressive program, read the full
  120. manual. If you just want to unpack the files on this disk, you do not
  121. need to read the user manual.
  122.  
  123.  
  124. MANCALA
  125.  
  126. The game of Mancala is a complete Windows application, with online
  127. help, animated graphics, keyboard and mouse support, and other
  128. features. The full source code for Mancala is included on disk along
  129. with all of the files that I used to build the program's online help
  130. using TPW's HC help compiler.
  131.  
  132.  
  133. OWLSPY
  134.  
  135. Use this utility to spy on windows. Compile OWLSPY.PAS and move the
  136. mouse to display the pointer's local and global coordinates. Local
  137. coordinates are relative to the program's window, with (0,0) in the
  138. upper left corner. Global coordinates are relative to the entire
  139. screen. 
  140.  
  141. To view coordinates outside of OWLSPY's window, click and hold the
  142. left mouse button while moving the mouse pointer. When you do this,
  143. the cursor changes to a cross.
  144.  
  145. For information about any window onscreen, use the Window:Get-info
  146. command to open a small window. Read the dialog box and then close it
  147. by selecting the Ok button. Move the mouse pointer inside the
  148. information window, click and hold the left mouse button, and drag
  149. the pointer to any visible window. When you release the mouse, the
  150. information window displays the target window's title, location, and
  151. size. This works for any window including dialogs and controls. (Try
  152. examining a button!)
  153.  
  154.  
  155. SYSCOLOR
  156.  
  157. In this file is a revised version of the SysColor utility, also found
  158. in PART3 in a slightly different form. You'll find instructions for
  159. using the program in the file SYSCOLOR.WRI, formatted for reading
  160. with the Windows Write text processor. You'll find similar
  161. instructions in the book.
  162.  
  163. (Note: SysColor requires a mouse.)
  164.  
  165.  
  166. TOOLBAR
  167.  
  168. Written by Danny Thorpe, QA Engineer in the Pascal Support Group at
  169. Borland, the ToolBar unit makes it possible to program toolbars like
  170. the one in Turbo Pascal for Windows 1.5. I described how to use this
  171. unit in my PC Techniques column, Shades of Windows. These files are
  172. identical to those available from the magazine, and also on
  173. Compuserve. Many thanks to Danny Thorpe and to Borland for making
  174. this wonderful unit available!
  175.  
  176.